package com.mall.user.service;

import com.mall.entity.Role;

import java.util.List;

public interface RoleService {

    //插入一个角色
    List<Role> save(Role role);

    List<Role> getAll();

    List<Role> deleteRoleById(String roleId);

    List<Role> selectRoleByName(String roleName);
}
